const event = {
  '501': 'Terminal {cuAddr} acess network',
  '502': 'Deny termina {cuAddr} acess network',
  '506': 'Terminal {cuAddr} log out {reasonStr}',
  '519': 'Terminal {cuAddr} call failed.（{reasonStr}）',
  '520': 'Terminal {callerCuAddr} is connecting to terminal {calledCuAddr}',
  '521': ` caller terminal {cuAddr} terminal {calledCuAddr} chain building success，business type: {traffic, select, 0{voice} 1{vedio} 2{transparent data service} 3{network access service} 4{routing mode service} other{#no data}} <br />
             caller use “{callerSatelliteName}”'s “{callerTransponderName}” transponder<br />
             channel resource：send channel（{sendChBegin}Hz—{sendChEnd}Hz）receive channel（{recvChBegin}Hz—{recvChEnd}Hz），occupied bandwidth：{callerBandWidth}Hz,<br />
             send speed: {sendSpeed}Kbps，receive speed: {recvSpeed}Kbps，<br />
             send power: {sendPower}dBw。<br />
             called use “{calledSatelliteName}”'s “{calledTransponderName}” transponder<br />
             channel resource：send channel（{calledSendChBegin}Hz—{calledSendChEnd}Hz）receive channel（{calledRecvChBegin}Hz—{calledRecvChEnd}Hz），occupied bandwidth：{calledBandWidth}Hz，<br />
             send speed: {calledSendSpeed}Kbps，receive speed: {calledRecvSpeed}Kbps，<br />
             send power: {calledSendPower}dBw`,
  '522': 'terminal {callerCuAddr} and terminal {calledCuAddr} communication finish',
  '523': '{cuAddr} report location information（longitude：{longitude}，latitude：{latitude}，altitude：{height}，speed：{speed}，direction：{direction}）',
  '524': {
    '5': 'CCU（IP：{ccuIP}，manage port：{ccuMangePort}）tunnel {tunnelNo} use {tunnelUsage, select, 0{TDM} 1{ALOHA} 2{Shared Business Delivery} 3{Shared Business Revenue} other{}}）',
    'other': 'CCU（IP：{ccuIP}，manage port：{ccuMangePort}' +
      '） tunnel {tunnelNo} use {tunnelUsage, select, 0{TDM} 1{ALOHA} 2{Shared Business Delivery} 3{Shared Business Revenue} other{}}）, channel（{downFreqBegin}Hz-{downFreqEnd}Hz）'
  },
  '5240': 'CCU（IP：{ccuIP}，manage port：{ccuMangePort}）tunnel {tunnelNo} use is backup）',
  '527': `CCU {device} {state, select, 0{offline} 1{online} other{}}`,
  '530': ` caller terminal {cuAddr} terminal {calledCuAddr} update resources，business type: {traffic, select, 0{voice} 1{vedio} 2{transparent data service} 3{network access service} 4{routing mode service} other{#no data}} <br />
             caller use“{callerSatelliteName}”'s “{callerTransponderName}” transponder：<br />
             channel resource：send channel（{sendChBegin}Hz—{sendChEnd}Hz）receive channel（{recvChBegin}Hz—{recvChEnd}Hz），occupied bandwidth：{callerBandWidth}Hz,<br />
             send speed: {sendSpeed}Kbps，receive speed: {recvSpeed}Kbps，<br />
             send power: {sendPower}dBw。<br />
             called use “{calledSatelliteName}”'s “{calledTransponderName}” transponder：<br />
             channel resource：send channel（{calledSendChBegin}Hz—{calledSendChEnd}Hz）receive channel（{calledRecvChBegin}Hz—{calledRecvChEnd}Hz），occupied bandwidth：{calledBandWidth}Hz，<br />
             send speed: {calledSendSpeed}Kbps，receive speed: {calledRecvSpeed}Kbps，<br />
             send power: {calledSendPower}dBw`,
  '532': ` 主叫终端{cuAddr}终端{calledCuAddr}建链成功，业务类型: 预约点对点通信 <br />
             主叫使用“{callerSatelliteName}”的“{callerTransponderName}”转发器：<br />
             信道资源：发送信道（{sendChBegin}Hz—{sendChEnd}Hz）接收信道（{recvChBegin}Hz—{recvChEnd}Hz），占用带宽：{callerBandWidth}Hz,<br />
             发送速率: {sendSpeed}Kbps，接收速率: {recvSpeed}Kbps，<br />
             发送功率: {sendPower}dBw。<br />
             被叫使用“{calledSatelliteName}”的“{calledTransponderName}”转发器：<br />
             信道资源：发送信道（{calledSendChBegin}Hz—{calledSendChEnd}Hz）接收信道（{calledRecvChBegin}Hz—{calledRecvChEnd}Hz），占用带宽：{calledBandWidth}Hz，<br />
             发送速率: {calledSendSpeed}Kbps，接收速率: {calledRecvSpeed}Kbps，<br />
             发送功率: {calledSendPower}dBw`,
  '533': '终端{device}加入预约',
  '534': '终端{device}退出预约',
  '535': '终端{callerCuAddr}同终端{calledCuAddr}的预约点对点通信结束',
  '536': '{data}',
  '537': '{data}',
  '538': '{data}',
  '539': '{data}',
  '540': '{data}',
  '541': '{data}',
  '542': '{data}',
  '543': '{data}',
  '603': ` caller terminal {cuAddr} access success，plan:{is_planned, select,true{true} false{false} other{}}，<br />
            {is_planned, select, false{ip:{ip}，dns: {dns}, subnet mask length: {mask_len}，<br />} other{}}
            business type: {traffic, select, 0{voice} 1{vedio} 2{transparent data service} 3{network access service} 4{routing mode service} other{#no data}} <br />
             caller use “{callerSatelliteName}”'s “{callerTransponderName}” transponder<br />
             channel resource：send channel（{sendChBegin}Hz—{sendChEnd}Hz）receive channel（{recvChBegin}Hz—{recvChEnd}Hz），occupied bandwidth：{callerBandWidth}Hz,<br />
             send speed: {sendSpeed}Kbps，receive speed: {recvSpeed}Kbps，<br />
             send power: {sendPower}dBw。<br />
             called use “{calledSatelliteName}”'s “{calledTransponderName}” transponder<br />
             channel resource：send channel（{calledSendChBegin}Hz—{calledSendChEnd}Hz）receive channel（{calledRecvChBegin}Hz—{calledRecvChEnd}Hz），occupied bandwidth：{calledBandWidth}Hz，<br />
             send speed: {calledSendSpeed}Kbps，receive speed: {calledRecvSpeed}Kbps，<br />
             send power: {calledSendPower}dBw`,
  '604': 'terminal {callerCuAddr} access end, reason: {reasonStr}',
  '605': ` caller terminal {cuAddr} access state change，business type: {traffic, select, 0{voice} 1{vedio} 2{transparent data service} 3{network access service} 4{routing mode service} other{#no data}} <br />
             caller use “{callerSatelliteName}”'s “{callerTransponderName}” transponder<br />
             channel resource：send channel（{sendChBegin}Hz—{sendChEnd}Hz）receive channel（{recvChBegin}Hz—{recvChEnd}Hz），occupied bandwidth：{callerBandWidth}Hz,<br />
             send speed: {sendSpeed}Kbps，receive speed: {recvSpeed}Kbps，<br />
             send power: {sendPower}dBw。<br />
             called use “{calledSatelliteName}”'s “{calledTransponderName}” transponder<br />
             channel resource：send channel（{calledSendChBegin}Hz—{calledSendChEnd}Hz）receive channel（{calledRecvChBegin}Hz—{calledRecvChEnd}Hz），occupied bandwidth：{calledBandWidth}Hz，<br />
             send speed: {calledSendSpeed}Kbps，receive speed: {calledRecvSpeed}Kbps，<br />
             send power: {calledSendPower}dBw`,
  '606': 'CU {cuAddr} failed to connect and large tonnage could not be established. Reason: {reasonStr}',
  '607': 'sam {samState, select, 0{offline} 1{online} other{state abnormal}}',
  reasonStr: {
    '506': {
      // '0': '用户主动退网',
      '0': '',
      '1': ',reson: Polling is not responding',
      '2': ',reson: Always receive no communication monitoring response',
      '3': ',reson: Control Center forced network access',
      // '4': '控制中心强制退网',
      '4': '',
      '5': ',reson: Control Center forced re-entry'
    },
    '519': {
      '0': 'The number you dialed does not exist',
      '1': 'The caller is out of the net',
      '2': 'The user you dialed is out of net',
      '3': 'The user you dialed is on the phone',
      '4': 'Timeout waiting for communication detection reply',
      '5': 'Insufficient satellite channel resources',
      '6': 'The caller is in p2p configuration',
      '7': 'The called is in p2p configuration',
      '8': 'The caller is the terminal of the access station',
      '9': 'No access relay channel unit.',
      '10': 'Reasons not yet coded',
      '11': 'The caller cannot call himself',
      '12': 'No communication permissions'
    },
    '604': {
      '5': 'Insufficient resources or equipment',
      '9': 'Access device goes offline',
      '10': 'Reasons not yet coded',
      '13': 'Session Broken',
      '14': 'User Operation',
      '15': 'Session Expired',
      '16': 'Modify Net Access Session Failed',
      '17': 'CU Quit',
      '18': 'Turn into planned session'
    },
    '606': {
      '5': 'Insufficient resources or equipment',
      '10': 'Reasons not yet coded',
      '18': 'CU In Plan, Refuse Manual Calling'
    }
  },
  msg_type_name: {
    '501': 'Channel unit log in',
    '502': 'Channel units are denied access to the network',
    '506': 'Channel unit log out',
    '519': 'Channel unit call rejection',
    '520': 'Channel unit call continuing',
    '521': 'Channel unit call successful',
    '522': 'Channel unit call completion',
    '523': 'Station reporting location information',
    '524': 'ccu tunnel status change',
    '527': 'ccu status change',
    '530': 'update session data',
    '532': 'Start of appointment',
    '533': 'Terminals start reserving Communications',
    '534': 'Terminals end reserving Communications',
    '535': 'End of appointment',
    '536': '组播开始',
    '537': '终端开始组播通信',
    '538': '终端结束组播通信',
    '539': '组播结束事件',
    '540': '终端加入组播',
    '541': '终端退出组播',
    '542': '终端增加回传',
    '543': '组播回传关闭',
    '603': 'access success',
    '604': 'access end',
    '605': 'access state change',
    '606': 'access failed',
    '607': 'sam status change'
  }
}

export default event
